package com.dreem.adapter.classadapter;

/**
 * @program: DesignParrtern
 * @description: 电源适配
 * @author: Peng
 * @create: 2021-01-30  11:12
 **/
public class VoltageAdapter extends Voltage220V implements IVoltage5V {

    @Override
    public int voltageAdapt() {
        int src = this.outPut220V();
        int dst = src / 44;
        return dst;
    }
}
